#include "HeightWidth.h"
#include <iostream>

void HeightWidth::setHeight(int height_p)
{
  height = height_p;
}

void HeightWidth::setWidth(int width_p)
{
  width = width_p; 
}

int HeightWidth::getHeight() const 
{
  return height;
}

int HeightWidth::getWidth() const 
{
  return width; 
}

bool HeightWidth::operator <(const HeightWidth& b) const
{
  if ( (this->height < b.height) && (this->width < b.width))
    {
      return true;
    }
  else
    {
      return false;
    }
}

